{*
 * Copyright (c) 2004-2006 OIC Group, Inc.
 * Written and Designed by Phillip Ball
 *
 * This file is part of Exponent
 *
 * Exponent is free software; you can redistribute
 * it and/or modify it under the terms of the GNU
 * General Public License as published by the Free
 * Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * GPL: http://www.gnu.org/licenses/gpl.txt
 *
 *}
	<ul id="mainlevel-nav">
	{assign var=isparent value=0}	
	{foreach from=$sections item=section}
	{if $section->parent == 0}
		
		{if $section->active == 1}
			<li><a class="mainlevel-nav" href="{$section->link}" {if $section->new_window} target="_blank"{/if}>{$section->name}</a></li>
		{else}
			<li><span class="mainlevel-nav">{$section->name}</span></li>
		{/if}
	{/if}
	{/foreach}
	</ul>
